package com.scrcu.cloud.wechat.home.endpoint.customer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.scrcu.cloud.wechat.home.endpoint.customer.entity.Institution;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface InstMapper extends BaseMapper<Institution> {
    List<Institution> getAllByCityCountyId(@Param("city_id") String city_id, @Param("county_id") String county_id);

    List<Institution> getAllByCityName(@Param("city_name") String city_name);

    List<Institution> getAllData();

    List<Institution> getByInstName(@Param("instName") String instName);

    List<Institution> getAllByAreaName(@Param("cityname") String cityname,@Param("areaname") String areaname);
}
